import {myTime} from "./formatTime.js";
import {encrypt} from "./encrypt.js"
export default {
	install(Vue){
		Vue.mixin({
			filters:{
				// 格式化时间
				$_formatDate(time){
					return myTime(parseInt(time));
				},
				// base64 ---> utf8
				$_base64toUtf8(str){
					return encrypt.base64toUtf8(str)
				}
			}
		})
	}
}